<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			document.write("<center>");
		var j;
		for(var m=1;m<4;m++){
			for(var j=1;j<4-m;j++){
				document.write("&nbsp;");
			}
			for(var j=1;j<=2*m-1;j++){
				document.write("*");
			}
			document.write("<br />")
		}
		
		var i;
		for(var c=2; c>=1;c--){
		   for(var i=1;i<4-c;i++){
			   document.write("&nbsp;");
			   }
			   for(var i=1;i<=2*c-1;i++){
			   	document.write("*");
			   }
			
			
			   document.write("<br />")
		}
		
		
		
	
		</script>
	</body>
</html>
